<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      /* 对于%，em, rem,等等单位，最终在浏览器中都会转化为绝对单位px */
      .container {
        color: red !important;
      }
      a {
        color: inherit;
      }
    </style>
  </head>
  <body>
    <div class="container">
      <a href="#">百度</a>
      <p>一个段落</p>
    </div>
  </body>
</html>
